Importing the VBScript code

The Global Collaboration Framework can handle vault events two ways: with script or with the GcfEvents extension implemented in GCF 2011. Both ways are supported. For first-time installations, we strongly recommend using the GcfEvents extension.

The script implementation is still supported for those customers that have customized GCF script and cannot use the extension. The script can be found in C:\Program Files (x86)\BCMeridian\Program\GCF\Configuration\Advanced\MainScript_WithEvents.bas. If you use this script, do not assign the GcfEvents extension to any document types.

To make the GCF VBScript functions available within the vault, you must import them into the vault's existing script.

To import the VBScript code for a first-time GCF installation:

  1. In Meridian Enterprise Configurator, open the vault's event procedures code for editing as described in the BlueCielo Meridian Enterprise VBScript API Reference.
  2. If the following event handlers are defined:

    Merge them with the event handlers that have the same names in the new GCF VBScript file C:\Program Files (x86)\BC-Meridian\Program\GCF\Configuration\MainScript.bas.

    Note    This step is unnecessary if only GCF/Project Portal is being installed. It does not support hybrid document types.

  1. Copy the content of MainScript.bas to the Clipboard and paste it at the end of the vault's current event procedures code.
  2. Review the list of event handlers in Suppressing custom code during GCF operations and if custom event handlers exist in the vault's configuration, perform the task described in that topic.
  3. Click OK to save your changes.

Some GCF operations are supported by the Meridian Enterprise Web Client: cross-site workflow, document deletion, and workflow revocation. To make the support available, append the script in the following file to the end of the vault's current event procedures code similar to the preceding task:

C:\Program Files (x86)\BC-Meridian\Program\GCF\Configuration\GCFWeb.bas

Related concepts

Understanding the system requirements

Understanding offline shares

Related tasks

Installing the GCF

Registering the Meridian Enterprise extensions

Creating the tables

Importing the briefcase settings

Merging registry settings

Creating and editing a share

Installing the GCF components

Suppressing custom code during GCF operations

Upgrading GCF

Related information

Creating a GCF website with basic authentication